﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp8
{
    class SortByName:Comparer<Student>
    {
        public override int Compare(Student a, Student b)
        {
            return a.Name.CompareTo(b.Name);
        }
    }
}
